import { curl } from "@/utils";

const blogLoginAPI = async () => await curl.post("/api/login");

const whoAmIAPI = async (token) =>
  await curl.get("/api/whoami", { params: { token } });

const blogLoginOutAPI = async () => await curl.get("/api/loginout");

export { blogLoginAPI, whoAmIAPI, blogLoginOutAPI };
